package mvc.form;

public class ZhuCeForm extends ActionForm implements Comparable<Object>{

	public ZhuCeForm() {
		
	}
	
	public ZhuCeForm(String username, String password1, String password2, String email) {
		this.username = username;
		this.password1 = password1;
		this.password2 = password2;
		this.email = email;
	}
	
	private String username;
	private String password1;
	private String password2;
	private String email;
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword1() {
		return password1;
	}

	public void setPassword1(String password1) {
		this.password1 = password1;
	}

	public String getPassword2() {
		return password2;
	}

	public void setPassword2(String password2) {
		this.password2 = password2;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public int compareTo(Object o) {
		// TODO Auto-generated method stub
		return 0;
	}

	public String toString() {
		return "username=" + username + "||password1=" + password1 + "||password2=" + password2 + "||email=" + email;
	}

}
